-
Notifications
You must be signed in to change notification settings - Fork 892
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GODRIVER-2416 Completely remove the 'x/bsonx' package. #1122
GODRIVER-2416 Completely remove the 'x/bsonx' package. #1122
Conversation
2a2cde1
to
ade78f2
Compare
ade78f2
to
7bd35d3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hooray for removed code. LGTM with a change to benchmark/single.go.
b4eb57b
to
7d03a94
Compare
…qiniu#297) This package is gone after mongodb/mongo-go-driver#1122, which is included in mongo-go-driver v1.12.0. Replace the only usage site with the better supported equivalent.
You have released this breaking change in a "feature" release?! 1.11.7 -> 1.12.0?! Even your Jira ticket says it's supposed to be in version 2! There is no reference to breaking changes in the release notes either. This is not okay. |
@fabszabo Apologies for any negative impact removing the The packages in the Please use the following replacements from the bson package instead:
If you need more help replacing usages of the |
GODRIVER-2416
Summary
Completely remove the
x/bsonx
package.Background & Motivation
One of the main goals of the Go Driver 2.0 changes is to reduce code duplication and restructure packages in the Go Driver to minimize import cycles. Some of that restructuring exposes unknown dependencies between packages that must be "untangled" to allow them to operate independently. The
x/bsonx
package imports somebson
packages, complicating the restructuring of those packages. Because it is unsupported and effectively unused, we should remove it.Completely remove the
x/bsonx
package to remove an unsupported API and simplify future restructuring of thebson
packages. Note that this is a continuation of the work started in GODRIVER-1953 and GODRIVER-1969.